﻿@model Campus.Entities.Equipo

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset class="form-horizontal">
        <legend>Equipo</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Nombre)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Nombre)
            @Html.ValidationMessageFor(model => model.Nombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.NombreCategoria)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NombreCategoria)
            @Html.ValidationMessageFor(model => model.NombreCategoria)
        </div>

             
            <div class="form-actions">
               <input type="submit" class="btn btn-primary" value="Crear" />
                @Html.ActionLink("Back to List", "Index")
            </div>
        
    </fieldset>
}


